projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c6db0b
)
Minor file descriptor leak in testgtk
author
Michael J. Chudobiak
<mjc@avtechpulse.com>
Sat, 11 Apr 2009 17:42:14 +0000
(13:42 -0400)
committer
Michael J. Chudobiak
<mjc@avtechpulse.com>
Sat, 11 Apr 2009 17:42:14 +0000
(13:42 -0400)
Added a missing fclose. Bug #578366.
demos/testgtk/main.c
patch
|
blob
|
history
diff --git
a/demos/testgtk/main.c
b/demos/testgtk/main.c
index f21c0f80a873bc5af52c1e03257c0c7411dd0f95..69c872a2b690aa74afcdfd72a9bf0bbd035d3cd7 100644
(file)
--- a/
demos/testgtk/main.c
+++ b/
demos/testgtk/main.c
@@
-189,6
+189,7
@@
load_file (const gchar *filename)
gtk_text_buffer_get_bounds (source_buffer, &start, &end);
gtk_text_buffer_apply_tag_by_name (info_buffer, "source", &start, &end);
+ fclose (file);
}
gboolean